package demo4.mapper;



import demo4.pojo.User;
import java.sql.SQLException;
import java.util.List;

public interface IUserMapper {
    int insert(User user) throws SQLException;

    void select(String username,String password);

    User selectByUsername(String username);

    int update(User user);

    List<User> selectAll();

    void deleteByUsername(String username);
}
